<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ page import ="java.util.Date" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<link href="<%=basePath %>css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath %>css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=basePath %>js/jquery.js"></script>
<script type="text/javascript" src="<%=basePath %>js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="<%=basePath %>js/select-ui.min.js"></script>
<script type="text/javascript" src="<%=basePath %>editor/kindeditor.js"></script> 
<script type="text/javascript"> 
  function delcer()//删除证书
  {  
	  var ids="";
	    var $chkBoxes = $('#mgrTable2').find('input:checked');   //找到被选中的checkbox集  //$()可以是$(expresion)，即css选择器、Xpath或html元素，也就是通过上述表达式来匹配目标元素。 
	    if ($chkBoxes.length == 0) {         //如果不勾选弹出警告框
	      alert('请至少选择一个数据集');
	      return false;
	    }
	     //遍历被选中的checkbox集
	    $($chkBoxes).each(function () { 
	      ids +=$(this).attr('data-id')+",";
	    })
	    alert("ids=="+ids)
		if (confirm("您确定要删除选中的用户信息吗?"))
		{ window.location="<%=basePath%>deletecer?keys="+ids; }
  }
  
  function deleteWorkHist(){ //删除工作经历
	  var ids="";
	    var $chkBoxes = $('#mgrTable7').find('input:checked');   //找到被选中的checkbox集  //$()可以是$(expresion)，即css选择器、Xpath或html元素，也就是通过上述表达式来匹配目标元素。 
	    if ($chkBoxes.length == 0) {         //如果不勾选弹出警告框
	      alert('请至少选择一个数据集');
	      return false;
	    }
	     //遍历被选中的checkbox集
	    $($chkBoxes).each(function () { 
	      ids +=$(this).attr('data-id')+",";
	    })
	    alert("ids=="+ids)
		if (confirm("您确定要删除选中的用户信息吗?"))
		{ window.location="<%=basePath%>deleteWorkHist?keys="+ids; }
		   
	}
  function delrpr() {
	  var ids="";
	    var $chkBoxes = $('#mgrTable3').find('input:checked');   //找到被选中的checkbox集  //$()可以是$(expresion)，即css选择器、Xpath或html元素，也就是通过上述表达式来匹配目标元素。 
	    if ($chkBoxes.length == 0) {         //如果不勾选弹出警告框
	      alert('请至少选择一个数据集');
	      return false;
	    }
	     //遍历被选中的checkbox集
	    $($chkBoxes).each(function () { 
	      ids +=$(this).attr('data-id')+",";
	    })
	    alert("ids=="+ids)
		if (confirm("您确定要删除选中的用户信息吗?"))
		{ window.location="<%=basePath%>deleterpr?keys="+ids; }
}
  function delcheck() {
	  var ids="";
	    var $chkBoxes = $('#mgrTable4').find('input:checked');   //找到被选中的checkbox集  //$()可以是$(expresion)，即css选择器、Xpath或html元素，也就是通过上述表达式来匹配目标元素。 
	    if ($chkBoxes.length == 0) {         //如果不勾选弹出警告框
	      alert('请至少选择一个数据集');
	      return false;
	    }
	     //遍历被选中的checkbox集
	    $($chkBoxes).each(function () { 
	      ids +=$(this).attr('data-id')+",";
	    })
	    alert("ids=="+ids)
		if (confirm("您确定要删除选中的用户信息吗?"))
		{ window.location="<%=basePath%>deletecheck?keys="+ids; }
}
  function delltr() {
	  var ids="";
	    var $chkBoxes = $('#mgrTable5').find('input:checked');   //找到被选中的checkbox集  //$()可以是$(expresion)，即css选择器、Xpath或html元素，也就是通过上述表达式来匹配目标元素。 
	    if ($chkBoxes.length == 0) {         //如果不勾选弹出警告框
	      alert('请至少选择一个数据集');
	      return false;
	    }
	     //遍历被选中的checkbox集
	    $($chkBoxes).each(function () { 
	      ids +=$(this).attr('data-id')+",";
	    })
	    alert("ids=="+ids)
		if (confirm("您确定要删除选中的用户信息吗?"))
		{ window.location="<%=basePath%>deleteltr?keys="+ids; }
}
  function dellevel(){ //删除等级
	  var ids="";
	    var $chkBoxes = $('#mgrTable6').find('input:checked');   //找到被选中的checkbox集  //$()可以是$(expresion)，即css选择器、Xpath或html元素，也就是通过上述表达式来匹配目标元素。 
	    if ($chkBoxes.length == 0) {         //如果不勾选弹出警告框
	      alert('请至少选择一个数据集');
	      return false;
	    }
	     //遍历被选中的checkbox集
	    $($chkBoxes).each(function () { 
	      ids +=$(this).attr('data-id')+",";
	    })
	    alert("ids=="+ids)
		if (confirm("您确定要删除选中的用户信息吗?"))
		{ window.location="<%=basePath%>deletelevel?keys="+ids; }
  }
  function deleteWorkResult(){ //删除年度工作
	  var ids="";
	    var $chkBoxes = $('#mgrTable1').find('input:checked');   //找到被选中的checkbox集  //$()可以是$(expresion)，即css选择器、Xpath或html元素，也就是通过上述表达式来匹配目标元素。 
	    if ($chkBoxes.length == 0) {         //如果不勾选弹出警告框
	      alert('请至少选择一个数据集');
	      return false;
	    }
	     //遍历被选中的checkbox集
	    $($chkBoxes).each(function () { 
	      ids +=$(this).attr('data-id')+",";
	    })
	    alert("ids=="+ids)
		if (confirm("您确定要删除选中的用户信息吗?"))
		{ window.location="<%=basePath%>deleteWorkResult?keys="+ids; }
		   
	}
  
</script>
<script type="text/javascript">
    KE.show({
        id : 'content7',
        cssPath : './index.css'
    });
  </script>
  
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 260			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
	var pageNumValue=$("#pageNum").val();
	var selectPages = $('#selectPages').find('a');   
	 $(selectPages).each(function () { 
	      if($(this).attr('id').substr(4,5)==pageNumValue){
	    	  $(this).attr("class","selected");
	      }else{
	    	  $(this).attr("class","");
	      }
	   })
});
Date.prototype.format = function(format) {  
    var o = {  
        "M+" : this.getMonth() + 1, // month  
        "d+" : this.getDate(), // day  
        "h+" : this.getHours(), // hour  
        "m+" : this.getMinutes(), // minute  
        "s+" : this.getSeconds(), // second  
        "q+" : Math.floor((this.getMonth() + 3)/3), //quarter  
        "S" : this.getMilliseconds()  
    // millisecond  
    }  
  
    if (/(y+)/.test(format)) {  
        format = format.replace(RegExp.$1, (this.getFullYear() + "")  
                .substr(4 - RegExp.$1.length));  
    }  
  
    for ( var k in o) {  
        if (new RegExp("(" + k + ")").test(format)) {  
            format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k]  
                    : ("00" + o[k]).substr(("" + o[k]).length));  
        }  
    }  
    return format;  
}
</script>
</head>
<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">客户经理辅助信息维护</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    <div id="usual1" class="usual"> 
    
    <div class="itab">
    <input type="hidden" name="pageNum" id="pageNum" value="${pageNum }">
    <input type="hidden" name="mgrId" id="mgrId" value="${mgrId}">
  	<ul id="selectPages"> 
    <li><a id="page1"  href="<%=basePath %>clientMgrInfoOther?pageNum=1&mgrId=${mgrId}" class="selected"  target="rightFrame">年度工作业绩</a></li> 
    <li><a id="page2"  href="<%=basePath %>clientMgrInfoOther?pageNum=2&mgrId=${mgrId}" target="rightFrame">证照列表</a></li> 
    <li><a id="page3" href="<%=basePath %>clientMgrInfoOther?pageNum=3&mgrId=${mgrId}">奖惩记录</a></li> 
    <li><a id="page4" href="<%=basePath %>clientMgrInfoOther?pageNum=4&mgrId=${mgrId}">考核记录</a></li> 
    <li><a id="page5" href="<%=basePath %>clientMgrInfoOther?pageNum=5&mgrId=${mgrId}">学习培训记录</a></li> 
    <li><a id="page6" href="<%=basePath %>clientMgrInfoOther?pageNum=6&mgrId=${mgrId}">等级认定记录</a></li> 
    <li><a id="page7"  href="<%=basePath %>clientMgrInfoOther?pageNum=7&mgrId=${mgrId}">工作经历</a></li> 
  	</ul>
    </div>
    <!--年度工作业绩  -->
    <c:if test="${pageNum==1}">
  	<div id="tab1" class="tabson">
  	<form action="<%=basePath %>clientMgrInfoOther">
	    <ul class="seachform">
	        <input name="pageNum" value="1"  type="hidden">
		    <li><label>客户经理编号</label><input name="mgrId" type="text" class="scinput" /></li>
		    <li><label>工作年度</label><input name="niandu1" type="text" class="scinput" /></li>
		    <li><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/></li>
	    </ul>
	    </form>
	    <div class="tools">
	    	<ul class="toolbar1">
	        <li><a href="javascript:openWindow(1)"><span><img src="<%=basePath %>images/t01.png" /></span>添加</a></li>
	        <li><a href="javascript:openWindow(2)"><span><img src="<%=basePath %>images/t02.png" /></span>修改</a></li>
	        <li><a href="javascript:deleteWorkResult()" ><span><img src="<%=basePath %>images/t03.png"/></span>删除</a></li>
	        </ul>
	    </div>

	    <table class="tablelist" id="mgrTable1">
	    	<thead>
		    	<tr class="tablehead"><td colspan="10">年度工作业绩</td></tr>
		   	</thead>
	    	<thead>
	    	<tr>
	        <th><input name="" type="checkbox" value=""/></th>
	        <th>姓名</th>
	        <th>工作年度</th>
	        <th>工作业绩</th>
	        <th>维护日期</th>
	        <th>维护人</th>
	        </tr>
	        </thead>
	        <tbody>
	         <c:forEach items="${resultList}" var="result">
	        		<tr>
			        <td><input name="ids"  type="checkbox" value="${result.cmKey}" data-id="${result.cmKey}" /></td>
			        <td>${result.mgrName}</td>
			        <td>${result.cmWorkYear}</td>
				    <td>${result.cmWorkResult}</td>		
			        <td><fmt:formatDate value="${result.modifyDate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
			        <td>${result.modifierName}</td>
			        </tr> 
	        	</c:forEach>
	        </tbody>
	    </table>
	</div>  
	</c:if>
	<c:if test="${pageNum==2}">
    <!--证件列表  -->
  	<div id="tab2" class="tabson">
  	<form action="<%=basePath %>clientMgrInfoOther">
	    <ul class="seachform">
	     <input name="pageNum" value="2"  type="hidden">
		    <li><label>客户经理编号</label><input name="mgrId" type="text" class="scinput" /></li>
		    <li><label>证书名称</label><input name="certi" type="text" class="scinput" /></li>
		    <li><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/></li>
	    </ul></form>
	    <div class="tools">
	    	<ul class="toolbar1">
	        <li><a href="javascript:openWindow(3)"><span><img src="<%=basePath %>images/t01.png" /></span>添加</a></li>
	        <li><a href="javascript:openWindow(4)"><span><img src="<%=basePath %>images/t02.png" /></span>修改</a></li>
	        <li><a href="javascript:delcer()" ><span><img src="<%=basePath %>images/t03.png"/></span>删除</a></li>
	        </ul>
	    </div>

	    <table class="tablelist" id="mgrTable2">
	    	<thead>
		    	<tr class="tablehead"><td colspan="12">证照列表</td></tr>
		   	</thead>
	    	<thead>
	    	<tr>
	        <th><input name="" type="checkbox" value=""/></th>
	        <th>姓名</th>
	        <th>证书名称</th>
	        <th>证书类型</th>
	        <th>证书编号</th>
	        <th>发证单位</th>
	        <th>发证时间</th>
	        <th>失效时间</th>
	        <th>有效性</th>
	        <th>作废标识</th>
	        <th>维护日期</th>
	        <th>维护人</th>
	        </tr>
	        </thead>
	        <tbody>
 <c:forEach items="${certificate}" var="list">
	        		<tr>
			        <td><input name="idcer"  type="checkbox" value="${list.cmKey}" data-id="${list.cmKey}" /></td>
			        <td>${list.mgrName}</td>
			        <td>${list.certificatemame}</td>
				    <td>${list.certificatetype}</td>	
				    <td>${list.certificateno}</td>
				    <td>${list.certificateunit}</td>
				     <td><fmt:formatDate value="${list.startdate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
				      <td><fmt:formatDate value="${list.enddate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
				 
				    <td>${list.period}</td>
				    <td>${list.invalid}</td>	
			        <td><fmt:formatDate value="${list.modifyDate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
			        <td>${list.modifierName}</td>
			        </tr> 
	        	</c:forEach>
	        </tbody>
	    </table>
	</div> 
    </c:if>
   <c:if test="${pageNum==3}">
    <!--奖惩记录  -->
  	<div id="tab3" class="tabson">
  	<form action="<%=basePath %>clientMgrInfoOther">
	    <ul class="seachform">
	     <input name="pageNum" value="3"  type="hidden">
		    <li><label>客户经理编号</label><input name="mgrId" type="text" class="scinput" /></li>
		    <li><label>奖惩分类</label><input name="rprclass" type="text" class="scinput" /></li>
		    <li><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/></li>
	    </ul>
	    </form>
	    <div class="tools">
	    	<ul class="toolbar1">
	        <li><a href="javascript:openWindow(5)"><span><img src="<%=basePath %>images/t01.png" /></span>添加</a></li>
	        <li><a href="javascript:openWindow(6)"><span><img src="<%=basePath %>images/t02.png" /></span>修改</a></li>
	        <li><a href="javascript:delrpr()" ><span><img src="<%=basePath %>images/t03.png"/></span>删除</a></li>
	        </ul>
	    </div>

	    <table class="tablelist" id="mgrTable3">
	    	<thead>
		    	<tr class="tablehead"><td colspan="12">奖惩记录</td></tr>
		   	</thead>
	    	<thead>
	    	<tr>
	        <th><input name="" type="checkbox" value=""/></th>
	        <th>姓名</th>
	        <th>奖惩分类</th>
	        <th>奖惩内容</th>
	        <th>生效日期</th>
	        <th>审批单位</th>
	        <th>审批人</th>
	        <th>撤销日期</th>
	        <th>撤销原因</th>
	        <th>附件依据</th>
	        <th>维护日期</th>
	        <th>维护人</th>
	        </tr>
	        </thead>
	        <tbody>
	       <c:forEach items="${cmrprList}" var="list">
	        		<tr>
			        <td><input name="idrpr"  type="checkbox" value="${list.cmKey}" data-id="${list.cmKey}" /></td>
			        <td>${list.mgrName}</td>
			        <td>${list.tpye}</td>
				    <td>${list.sub}</td>	
				    <td><fmt:formatDate value="${list.adate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
				    <td>${list.aunit}</td>
				    <td>${list.aperson}</td>
				       <td><fmt:formatDate value="${list.rdate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
				   
				    <td>${list.areason}</td>
				    <td>${list.attachment}</td>	
			        <td><fmt:formatDate value="${list.modifyDate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
			        <td>${list.modifierName}</td>
			        </tr> 
	        	</c:forEach>
	        </tbody>
	    </table>
	</div> 
   </c:if>
   <c:if test="${pageNum==4}">
    <!--考核记录  -->
  	<div id="tab4" class="tabson">
  	<form action="<%=basePath %>clientMgrInfoOther">
  	 <input name="pageNum" value="4"  type="hidden">
	    <ul class="seachform">
		    <li><label>客户经理编号</label><input name="mgrId" type="text" class="scinput" /></li>
		   <li><label>考核内容</label><input name="neirong" type="text" class="scinput" /></li>
		    <li><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/></li>
	    </ul>
	    </form>
	    <div class="tools">
	    	<ul class="toolbar1">
	        <li><a href="javascript:openWindow(7)"><span><img src="<%=basePath %>images/t01.png" /></span>添加</a></li>
	        <li><a href="javascript:openWindow(8)"><span><img src="<%=basePath %>images/t02.png" /></span>修改</a></li>
	        <li><a href="javascript:delcheck()" ><span><img src="<%=basePath %>images/t03.png"/></span>删除</a></li>
	        </ul>
	        
	    </div>

	    <table class="tablelist" id="mgrTable4">
	    	<thead>
		    	<tr class="tablehead"><td colspan="12">考核记录</td></tr>
		   	</thead>
	    	<thead>
	    	<tr>
	        <th><input name="" type="checkbox" value=""/></th>
	        <th>姓名</th>
	        <th>考核时间</th>
	        <th>考核内容</th>
	        <th>考核结果</th>
	        <th>考核评价</th>
	        <th>考核单位</th>
	        <th>维护日期</th>
	        <th>维护人</th>
	        </tr>
	        </thead>
	        <tbody>
	       <c:forEach items="${checkList}" var="list">
	        		<tr>
			        <td><input name="idcheck"  type="checkbox" value="${list.cmKey}" data-id="${list.cmKey}" /></td>
			        <td>${list.mgrName}</td>
			         <td><fmt:formatDate value="${list.asstime}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
			        <td>${list.assub}</td>
				    <td>${list.assresult}</td>	
				   
				    <td>${list.appralsal}</td>
				    <td>${list.assunit}</td>
			        <td><fmt:formatDate value="${list.modifyDate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
			        <td>${list.modifierName}</td>
			        </tr> 
	        	</c:forEach>
	        
	        </tbody>
	    </table>
	</div> 
   </c:if>
   <c:if test="${pageNum==5}">
    <!--学员培训记录  -->
  	<div id="tab5" class="tabson">
  	<form action="<%=basePath %>clientMgrInfoOther">
  	 <input name="pageNum" value="5"  type="hidden">
	    <ul class="seachform">
		    <li><label>客户经理编号</label><input name="mgrId" type="text" class="scinput" /></li>
		  
		    <li><label>科目</label><input name="kemu" type="text" class="scinput" /></li>
		    <li><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/></li>
	    </ul>
	    </form>
	    <div class="tools">
	    	<ul class="toolbar1">
	        <li><a href="javascript:openWindow(9)"><span><img src="<%=basePath %>images/t01.png" /></span>添加</a></li>
	        <li><a href="javascript:openWindow(10)"><span><img src="<%=basePath %>images/t02.png" /></span>修改</a></li>
	        <li><a href="javascript:delltr()" ><span><img src="<%=basePath %>images/t03.png"/></span>删除</a></li>
	        </ul>
	    </div>

	    <table class="tablelist" id="mgrTable5">
	    	<thead>
		    	<tr class="tablehead"><td colspan="14">学员培训记录</td></tr>
		   	</thead>
	    	<thead>
	    	<tr>
	        <th><input name="" type="checkbox" value=""/></th>
	        <th>姓名</th>
	        <th>培训时间</th>
	        <th>科目</th>
	        <th>培训单位</th>
	        <th>开始日期</th>
	        <th>结束日期</th>
	        <th>学时</th>
	        <th>学分</th>
	        <th>成绩</th>
	        <th>附件依据</th>
	        <th>维护日期</th>
	        <th>维护人</th>
	        </tr>
	        </thead>
	        <tbody>
	         <c:forEach items="${learntrainList}" var="list">
	        		<tr>
			        <td><input name="idltr"  type="checkbox" value="${list.cmKey}" data-id="${list.cmKey}" /></td>
			        <td>${list.mgrName}</td>
			         <td><fmt:formatDate value="${list.tdate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
			         <td>${list.sub}</td>
			          <td>${list.tunit}</td>
			        
			            <td><fmt:formatDate value="${list.startdate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
			               <td><fmt:formatDate value="${list.endate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
			        <td>${list.konw}</td>
				    <td>${list.credait}</td>	
				   
				    <td>${list.score}</td>
				    <td>${list.attachment}</td>
			        <td><fmt:formatDate value="${list.modifyDate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
			        <td>${list.modifierName}</td>
			        </tr> 
	        	</c:forEach>
	        
	        </tbody>
	    </table>
	</div> 
	</c:if>
	<c:if test="${pageNum==6}">
    <!--等级认定记录  -->
  	<div id="tab6" class="tabson">
  	<form action="<%=basePath %>clientMgrInfoOther">
  	 <input name="pageNum" value="6"  type="hidden">
	    <ul class="seachform">
		    <li><label>客户经理编号</label><input name="mgrId" type="text" class="scinput" /></li>
		 
		    <li><label>认定级别</label><input name="renclass" type="text" class="scinput" /></li>
		    <li><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/></li>
	    </ul>
	    </form>
	    <div class="tools">
	    	<ul class="toolbar1">
	        <li><a href="javascript:openWindow(11)"><span><img src="<%=basePath %>images/t01.png" /></span>添加</a></li>
	        <li><a href="javascript:openWindow(12)"><span><img src="<%=basePath %>images/t02.png" /></span>修改</a></li>
	        <li><a href="javascript:dellevel()" ><span><img src="<%=basePath %>images/t03.png"/></span>删除</a></li>
	        </ul>
	    </div>

	    <table class="tablelist" id="mgrTable6">
	    	<thead>
		    	<tr class="tablehead"><td colspan="14">等级认定记录</td></tr>
		   	</thead>
	    	<thead>
	    	<tr>
	        <th><input name="" type="checkbox" value=""/></th>
	        <th>姓名</th>
	        <th>认定时间</th>
	        <th>认定级别</th>
	        <th>认定类型</th>
	        <th>附件依据</th>
	        <th>维护日期</th>
	        <th>维护人</th>
	        </tr>
	        </thead>
	        <tbody>
	       <c:forEach items="${levelaffirmList}" var="list">
	        		<tr>
			        <td><input name="idlevel"  type="checkbox" value="${list.cmKey}" data-id="${list.cmKey}" /></td>
			        <td>${list.mgrName}</td>
			         <td><fmt:formatDate value="${list.holddate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
			         <td>${list.holdlevel}</td>
			          <td>${list.holdtype}</td>
			        
			          
				    <td>${list.attachment}</td>
			        <td><fmt:formatDate value="${list.modifyDate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
			        <td>${list.modifierName}</td>
			        </tr> 
	        	</c:forEach>
	              
	        </tbody>
	    </table>
	</div> 
	</c:if>
	<c:if test="${pageNum==7}">
    <!--工作经历  -->
  	<div id="tab7" class="tabson">
  	<form action="<%=basePath %>clientMgrInfoOther">
  	 <input name="pageNum" value="7"  type="hidden">
	    <ul class="seachform">
		    <li><label>客户经理编号</label><input name="mgrId" type="text" class="scinput" /></li>
		    <li><label>单位</label><input name="danwei" type="text" class="scinput" /></li>
		    <li><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/></li>
	    </ul>
	    </form>
	    <div class="tools">
	    	<ul class="toolbar1">
	        <li><a href="javascript:openWindow(13)"><span><img src="<%=basePath %>images/t01.png" /></span>添加</a></li>
	        <li><a href="javascript:openWindow(14)"><span><img src="<%=basePath %>images/t02.png" /></span>修改</a></li>
	        <li><a href="javascript:deleteWorkHist()" ><span><img src="<%=basePath %>images/t03.png"/></span>删除</a></li>
	        </ul>
	        
	    </div>

	    <table class="tablelist" id="mgrTable7">
	    	<thead>
		    	<tr class="tablehead"><td colspan="14">工作经历</td></tr>
		   	</thead>
	    	<thead>
	    	<tr>
	        <th><input name="" type="checkbox" value=""/></th>
	       
	        <th>姓名</th>
	        <th>任职日期</th>
	        <th>职务</th>
	        <th>单位</th>
	        <th>工作经历</th>
	        <th>附件依据</th>
	        <th>维护日期</th>
	        <th>维护人</th>
	        </tr>
	        </thead>
	        <tbody>
	        <c:forEach items="${workList}" var="work">
		        <tr>
			        <td><input name="workId" type="checkbox" value="${work.cmKey }" data-id="${work.cmKey}" /></td>
			       
			        <td>${work.mgrName }</td>
			        <td><fmt:formatDate value="${work.officeDate}" pattern="yyyy-MM-dd"/></td>
			        <td>
			          <c:forEach items="${mgrLevel}" var="level">
					     <c:if test="${level.key eq work.cmPostion }">${level.value }</c:if> 	
			          </c:forEach>
			        </td>
			        <td>${work.cmUnit }</td>
			        <td>${work.cmWork }</td>
			        <td>${work.cmAttach }</td>
			        <td><fmt:formatDate value="${work.modifyDate}" pattern="yyyy-MM-dd"/></td>
			        <td>${work.modifierName }</td>
		        </tr> 
	        </c:forEach>       
	        </tbody>
	    </table>
	</div> 	
	</c:if>   	   
<script language="javascript">
	function openWindow(scanLog) {
		alert("scanLog="+scanLog);
		if (scanLog == 1) {
			document.getElementById('light1').style.display = 'block';
			
		}else if(scanLog == 2){
			//document.getElementById('light2').style.display = 'block';
			var objs=document.getElementsByName("ids");//获取复选框的结果key
			var selectObjs=[];
			for(var i=0;i<objs.length;i++){
				if(objs[i].checked){		
					selectObjs.push(objs[i]);
				};
			}
			//只允许有一个选中
			if(selectObjs.length==1){
				//alter("selectObjs[0].value"+selectObjs[0].value);
				//document.getElementById('ResultHidden').value=selectObjs[0].value;
				document.getElementById('light2').style.display = 'block';
			}else if(selectObjs.length==0){
				alert("必须选择一项纪录修改!");
			}else{
				alert("只能选择一项纪录修改!");
			}
			$.ajax({
		         //发送请求URL，可使用相对路径也可使用绝对路径
		         url:"<%=basePath%>/modifyresult?cmKey="+selectObjs[0].value,
		         //发送方式为GET，也可为POST，需要与后台对应
		         type:"GET",
		         //设置接收格式为JSON
		         dataType:"json",
		         //编码设置
		         contentType:"application/json;charset=utf-8",
		         //后台返回成功后处理数据，data为后台返回的json格式数据
		         success:function(data){
		        	 if(data.length>0){
		   
		        		 $("#resultkey").val(data[0].cmKey);
		        		 $("#resultCmId").val(data[0].mgrId);
		        		 $("#resultyear").val(data[0].cmWorkYear);
		        		 $("#result").val(data[0].cmWorkResult);
		        	 }
		         }
		   });
		}else if(scanLog == 3){
			document.getElementById('light3').style.display = 'block';
		}else if(scanLog == 4){
			var objs=document.getElementsByName("idcer");//获取复选框的结果key
			var selectObjs=[];
			for(var i=0;i<objs.length;i++){
				if(objs[i].checked){		
					selectObjs.push(objs[i]);
				};
			}
			//只允许有一个选中
			if(selectObjs.length==1){
				//alter("selectObjs[0].value"+selectObjs[0].value);
				//document.getElementById('ResultHidden').value=selectObjs[0].value;
				document.getElementById('light4').style.display = 'block';
			}else if(selectObjs.length==0){
				alert("必须选择一项纪录修改!");
			}else{
				alert("只能选择一项纪录修改!");
			}
			$.ajax({
		         //发送请求URL，可使用相对路径也可使用绝对路径
		         url:"<%=basePath%>/modifycer?cmKey="+selectObjs[0].value,
		         //发送方式为GET，也可为POST，需要与后台对应
		         type:"GET",
		         //设置接收格式为JSON
		         dataType:"json",
		         //编码设置
		         contentType:"application/json;charset=utf-8",
		         //后台返回成功后处理数据，data为后台返回的json格式数据
		         success:function(data){
		        	 if(data.length>0){
		   
		        		 $("#cerkey").val(data[0].cmKey);
		        		 $("#cerCmId").val(data[0].mgrId);
		        		 $("#cername").val(data[0].certificatemame);
		        		 $("#certype").val(data[0].certificatetype);
		        		 $("#cerno").val(data[0].certificateno);
		        		 $("#cerunit").val(data[0].certificateunit);
		        		 var ahq=new Date(data[0].startdate);
		        		 var ahqw=ahq.format("yyyy-MM-dd");
		        		 $("#certime").val(ahqw);
		        		 var ahq1=new Date(data[0].enddate);
		        		 var ahqw1=ahq1.format("yyyy-MM-dd");
		        		 $("#cerintime").val(ahqw1);
		        		 
		    
		        		 $("#cerremark").val(data[0].remark);
		        	 }
		         }
		   });
		}else if(scanLog == 5){
			document.getElementById('light5').style.display = 'block';
		}else if(scanLog == 6){
			var objs=document.getElementsByName("idrpr");//获取复选框的结果key
			var selectObjs=[];
			for(var i=0;i<objs.length;i++){
				if(objs[i].checked){		
					selectObjs.push(objs[i]);
				};
			}
			//只允许有一个选中
			if(selectObjs.length==1){
				//alter("selectObjs[0].value"+selectObjs[0].value);
				//document.getElementById('ResultHidden').value=selectObjs[0].value;
				document.getElementById('light6').style.display = 'block';
			}else if(selectObjs.length==0){
				alert("必须选择一项纪录修改!");
			}else{
				alert("只能选择一项纪录修改!");
			}
			$.ajax({
		         //发送请求URL，可使用相对路径也可使用绝对路径
		         url:"<%=basePath%>/modifyrpr?cmKey="+selectObjs[0].value,
		         //发送方式为GET，也可为POST，需要与后台对应
		         type:"GET",
		         //设置接收格式为JSON
		         dataType:"json",
		         //编码设置
		         contentType:"application/json;charset=utf-8",
		         //后台返回成功后处理数据，data为后台返回的json格式数据
		         success:function(data){
		        	 if(data.length>0){
		   
		        		 $("#rprkey").val(data[0].cmKey);
		        		 $("#rprCmId").val(data[0].mgrId);
		        		 $("#rprtype").val(data[0].tpye);
		        		 $("#rprsub").val(data[0].sub);
		        		 var ahq=new Date(data[0].adate);
		        		 var ahqw=ahq.format("yyyy-MM-dd");
		        		 $("#rpradate").val(ahqw);
		        		 $("#rprunit").val(data[0].aunit);
		        		 $("#rprperson").val(data[0].aperson);
		        		 var ahw=new Date(data[0].rdate);
		        		 var ahwq=ahw.format("yyyy-MM-dd");
		        		 $("#rprrdate").val(ahwq);
		        		 $("#rprreason").val(data[0].areason);
		        		 $("#rprremark").val(data[0].remark);
		        	 }
		         }
		   });
		}else if(scanLog == 7){
			document.getElementById('light7').style.display = 'block';
		}else if(scanLog == 8){
			var objs=document.getElementsByName("idcheck");//获取复选框的结果key
			var selectObjs=[];
			for(var i=0;i<objs.length;i++){
				if(objs[i].checked){		
					selectObjs.push(objs[i]);
				};
			}
			//只允许有一个选中
			if(selectObjs.length==1){
				//alter("selectObjs[0].value"+selectObjs[0].value);
				//document.getElementById('ResultHidden').value=selectObjs[0].value;
				document.getElementById('light8').style.display = 'block';
			}else if(selectObjs.length==0){
				alert("必须选择一项纪录修改!");
			}else{
				alert("只能选择一项纪录修改!");
			}
			$.ajax({
		         //发送请求URL，可使用相对路径也可使用绝对路径
		         url:"<%=basePath%>/modifcheck?cmKey="+selectObjs[0].value,
		         //发送方式为GET，也可为POST，需要与后台对应
		         type:"GET",
		         //设置接收格式为JSON
		         dataType:"json",
		         //编码设置
		         contentType:"application/json;charset=utf-8",
		         //后台返回成功后处理数据，data为后台返回的json格式数据
		         success:function(data){
		        	 if(data.length>0){
		   
		        		 $("#checkkey").val(data[0].cmKey);
		        		 $("#checkCmId").val(data[0].mgrId);
		        		 $("#checkassresult").val(data[0].assresult);
		        		 $("#checksub").val(data[0].assub);
		        		 var ahq=new Date(data[0].asstime);
		        		 var ahqw=ahq.format("yyyy-MM-dd");
		        		 $("#checkadate").val(ahqw);
		        		 $("#checkpingjia").val(data[0].appralsal);
		        		 $("#checkunit").val(data[0].assunit);

		        	 }
		         }
		   });
		}else if(scanLog == 9){
			document.getElementById('light9').style.display = 'block';
		}else if(scanLog == 10){
			var objs=document.getElementsByName("idltr");//获取复选框的结果key
			var selectObjs=[];
			for(var i=0;i<objs.length;i++){
				if(objs[i].checked){		
					selectObjs.push(objs[i]);
				};
			}
			//只允许有一个选中
			if(selectObjs.length==1){
				//alter("selectObjs[0].value"+selectObjs[0].value);
				//document.getElementById('ResultHidden').value=selectObjs[0].value;
				document.getElementById('light10').style.display = 'block';
			}else if(selectObjs.length==0){
				alert("必须选择一项纪录修改!");
			}else{
				alert("只能选择一项纪录修改!");
			}
			$.ajax({
		         //发送请求URL，可使用相对路径也可使用绝对路径
		         url:"<%=basePath%>/modifltr?cmKey="+selectObjs[0].value,
		         //发送方式为GET，也可为POST，需要与后台对应
		         type:"GET",
		         //设置接收格式为JSON
		         dataType:"json",
		         //编码设置
		         contentType:"application/json;charset=utf-8",
		         //后台返回成功后处理数据，data为后台返回的json格式数据
		         success:function(data){
		        	 if(data.length>0){		   
		        		 $("#ltrkey").val(data[0].cmKey);
		        		 $("#ltrCmId").val(data[0].mgrId);
		        		 var ahq=new Date(data[0].tdate);
		        		 var ahqw=ahq.format("yyyy-MM-dd");
		        		 $("#ltradate").val(ahqw);
		        		 $("#ltrsub").val(data[0].sub);
		        		 $("#ltrtunit").val(data[0].tunit);
		        		 var ahq1=new Date(data[0].startdate);
		        		 var ahqw1=ahq1.format("yyyy-MM-dd");
		        		 $("#ltrstart").val(ahqw1);
		        		 var ahq2=new Date(data[0].endate);
		        		 var ahqw2=ahq2.format("yyyy-MM-dd");
		        		 $("#ltrend").val(ahqw2);
		        		 $("#ltrknow").val(data[0].konw);
		        		 $("#ltrcredait").val(data[0].credait);
		        		 $("#score").val(data[0].score);
		        	 }
		         }
		   });
		}else if(scanLog == 11){
			document.getElementById('light11').style.display = 'block';
		}else if(scanLog == 12){
			var objs=document.getElementsByName("idlevel");//获取复选框的结果key
			var selectObjs=[];
			for(var i=0;i<objs.length;i++){
				if(objs[i].checked){		
					selectObjs.push(objs[i]);
				};
			}
			//只允许有一个选中
			if(selectObjs.length==1){
				//alter("selectObjs[0].value"+selectObjs[0].value);
				//document.getElementById('ResultHidden').value=selectObjs[0].value;
				document.getElementById('light12').style.display = 'block';
			}else if(selectObjs.length==0){
				alert("必须选择一项纪录修改!");
			}else{
				alert("只能选择一项纪录修改!");
			}
			$.ajax({
		         //发送请求URL，可使用相对路径也可使用绝对路径
		         url:"<%=basePath%>/modiflevel?cmKey="+selectObjs[0].value,
		         //发送方式为GET，也可为POST，需要与后台对应
		         type:"GET",
		         //设置接收格式为JSON
		         dataType:"json",
		         //编码设置
		         contentType:"application/json;charset=utf-8",
		         //后台返回成功后处理数据，data为后台返回的json格式数据
		         success:function(data){
		        	 if(data.length>0){
		        		 var ahqqq=new Date();
		        		 var ahqwqq=ahqqq.format("yyyy-MM-dd");
		        		 $("timewa").val(data[0].holddate);

		        		 $("#levelkey").val(data[0].cmKey);
		        		 $("#levelCmId").val(data[0].mgrId);
		        		 $("#holdlevel").val(data[0].holdlevel);
		        		 $("#holdtype").val(data[0].holdtype);
		        		
		        	 }
		         }
		   });
		}else if(scanLog == 13){
			document.getElementById('light13').style.display = 'block';
		}else if(scanLog == 14){
			var objs=document.getElementsByName("workId");//获取复选框的工作经历key
			var selectObjs=[];
			for(var i=0;i<objs.length;i++){
				if(objs[i].checked){		
					selectObjs.push(objs[i]);
				};
			}
			//只允许有一个选中
			if(selectObjs.length==1){
				document.getElementById('workHidden').value=selectObjs[0].value;
				document.getElementById('light14').style.display = 'block';
			}else if(selectObjs.length==0){
				alert("必须选择一项纪录修改!");
			}else{
				alert("只能选择一项纪录修改!");
			}
			$.ajax({
		         //发送请求URL，可使用相对路径也可使用绝对路径
		         url:"<%=basePath%>/modifyWork?cmKey="+selectObjs[0].value,
		         //发送方式为GET，也可为POST，需要与后台对应
		         type:"GET",
		         //设置接收格式为JSON
		         dataType:"json",
		         //编码设置
		         contentType:"application/json;charset=utf-8",
		         //后台返回成功后处理数据，data为后台返回的json格式数据
		         success:function(data){
		        	 if(data.length>0){
		        		 var Datetemp= new Date(data[0].officeDate);// 这里必须是整数，毫秒  
	                     var dateStr = Datetemp.format("yyyy-MM-dd"); 
		        		 $("#workCmKey").val(data[0].cmKey);
		        		 $("#workCmId").val(data[0].mgrId);
		        		 $("#workofficeDate").val(dateStr);
		        		 $("#workcmPostion").val(data[0].cmPostion);
		        		 //$("#workcmPostion option[value='"+data[0].cmPostion+"']").prop("selected",true);
		        		 //$('#workcmPostion').find("option[value="+data[0].cmPostion+"]").attr("selected",true);
		        		 $('#workcmPostion').find("option[value='02']").attr("selected",true);
		        		// $("#workcmPostion").val(data[0].cmPostion).attr("selected",true);
		        		 $("#workUnit").val(data[0].cmUnit);
		        		 $("#workWork").val(data[0].cmWork);
		        		 $("#workAttach").text(data[0].cmAttach);
		        		 $("#workHistAttach").val(data[0].cmAttach);
		        	 }
		         }
		   });
		}
	}
	function closeWindow(id) {
		document.getElementById(id).style.display = 'none';
	}
</script>
<div id="light1" class="firstScan_main">
    <form action="mgrResultAdd" method="post">
    <input type="hidden" name="modifier" id="modifier" value="${user.userId }">
    <input type="hidden" name="mgrId"  value="${param. mgrId}">
    <div class="formbody">
    <div class="formtitle"><span>添加年度工作业绩</span></div>
    
    <ul class="forminfo">
    <li><label>客户经理编号</label>
    <c:if test="${param.mgrId =='' or param.mgrId==null}">
        <input name="mgrId" type="text" class="dfinput" value="${user.userId}" readonly/>
    </c:if>
    <c:if test="${param.mgrId !='' and param.mgrId!=null}">
        <input name="mgrId" type="text" class="dfinput" value="${param.mgrId}" readonly/>
    </c:if>
    </li>
    <li><label>工作年度</label><input name="cmWorkYear" id="officeDate" type="text" class="dfinput" value=""/> </li>
    <li><label>工作业绩</label><input name="cmWorkResult" type="text" class="dfinput" value=""/> </li>
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="添加"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light1')"/></li>
    </ul>
    </div>
    </form>
</div>
<div id="light2" class="firstScan_main">
    <form action="mgrResultupdate" method="post">
    <div class="formbody">
    <div class="formtitle"><span>修改年度工作业绩</span></div>
    <input type="hidden" name="cmKey" id="resultkey"  value="">
    <ul class="forminfo">
    <li><label>客户经理编号</label>
    <input name="mgrId" id="resultCmId" type="text" class="dfinput" value="" readonly/> 
    </li>
    <li><label>工作年度</label><input id='resultyear' name="cmWorkYear" type="text" class="dfinput" value=""/> </li>
    <li><label>工作业绩</label><input id='result' name="cmWorkResult" type="text" class="dfinput" value=""/> </li>
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="修改"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light2')"/></li>
    </ul>
    </div>
    </form>
</div>
<div id="light3" class="firstScan_main">
    <form action="mgrCertificateAdd" method="post" >
     <input type="hidden" name="modifier" id="modifier" value="${user.userId }">
    <input type="hidden" name="mgrId"  value="${param. mgrId}">
    <div class="formbody">
    <div class="formtitle"><span>添加证件</span></div> 
    <ul class="forminfo">
    <li><label>客户经理编号</label>
    <c:if test="${param.mgrId =='' or param.mgrId==null}">
        <input name="mgrId" type="text" class="dfinput" value="${user.userId}" readonly/>
    </c:if>
    <c:if test="${param.mgrId !='' and param.mgrId!=null}">
        <input name="mgrId" type="text" class="dfinput" value="${param.mgrId}" readonly/>
    </c:if>
    </li>
    <li><label>证书名称</label><input name="certificatemame" type="text" class="dfinput" value=""/> </li>
    <li><label>证书类型</label><div class="vocation"><select class="select1" name="certificatetype"><option value="从业资格证" >从业资格证</option><option value="岗位证书">岗位证书</option></select></div></li>
    <li><label>证书编号</label><input name="certificateno" type="text" class="dfinput" value=""/> </li>
    <li><label>发证单位</label><input name="certificateunit" type="text" class="dfinput" value=""/> </li>
    <li><label>发证时间</label><input name="startdate" type="text" class="dfinput" value=""/> </li>
    <li><label>失效时间</label><input name="enddate" type="text" class="dfinput" value=""/> </li>
    <li><label>备注</label><input name="remark" type="text" class="dfinput" value=""/> </li>
  
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="添加"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light3')"/></li>
    </ul>
    </div>
    </form>
</div>
<div id="light4" class="firstScan_main">
    <form action="mgrcerupdate" method="post">
    <div class="formbody">
    <div class="formtitle"><span>修改证件</span></div>
     <input type="hidden" name="cmKey" id="cerkey"  value="">
    <ul class="forminfo">
    <li><label>客户经理编号</label><input id="cerCmId" name="mgrId" type="text" class="dfinput" value=""/> </li>
    <li><label>证书名称</label><input  id="cername" name="certificatemame" type="text" class="dfinput" value=""/> </li>
    <li><label>证书类型</label><div class="vocation"><select class="select1"  name="certificatetype"><option value="从业资格证" selected>从业资格证</option><option value="岗位证书">岗位证书</option></select></div></li>
    <li><label>证书编号</label><input id="cerno" name="certificateno" type="text" class="dfinput" value=""/> </li>
    <li><label>发证单位</label><input id="cerunit" name="certificateunit" type="text" class="dfinput" value=""/> </li>
    <li><label>发证时间</label><input id="certime" name="startdate" type="text" class="dfinput" value=""/> </li>
    <li><label>失效时间</label><input id="cerintime" name="enddate" type="text" class="dfinput" value=""/> </li>
    <li><label>备注</label><input id="cerremark"name="remark" type="text" class="dfinput" value=""/> </li>
 
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="修改"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light4')"/></li>
    </ul>
    </div>
    </form>
</div>

<div id="light5" class="firstScan_main" >
    <form action="mgrCmrprAdd" method="post" enctype="multipart/form-data">
    <input type="hidden" name="modifier" id="modifier" value="${user.userId }">
    <input type="hidden" name="mgrId"  value="${param. mgrId}">
    <div class="formbody">
    <div class="formtitle"><span>添加奖惩记录</span></div>
    
    <ul class="forminfo">
   <li><label>客户经理编号</label>
    <c:if test="${param.mgrId =='' or param.mgrId==null}">
        <input name="mgrId" type="text" class="dfinput" value="${user.userId}" readonly/>
    </c:if>
    <c:if test="${param.mgrId !='' and param.mgrId!=null}">
        <input name="mgrId" type="text" class="dfinput" value="${param.mgrId}" readonly/>
    </c:if>
    </li>
    <li><label>奖惩分类</label><input name="tpye" type="text" class="dfinput" value=""/> </li>
    <li><label>奖惩内容</label><input name="sub" type="text" class="dfinput" value=""/> </li>
    <li><label>生效日期</label><input name="adate" type="text" class="dfinput" value=""/> </li>
    <li><label>审批单位</label><input name="aunit" type="text" class="dfinput" value=""/> </li>
    <li><label>审批人</label><input name="aperson" type="text" class="dfinput" value=""/> </li>
    <li><label>撤销日期</label><input name="rdate" type="text" class="dfinput" value=""/> </li>
    <li><label>撤销原因</label><input name="areason" type="text" class="dfinput" value=""/> </li>
    <li><label>备注</label><input name="remark" type="text" class="dfinput" value=""/> </li>
    <li><label>附件上传</label><input name="upload" type="file" class="dfselect1"/></li>
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="添加"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light5')"/></li>
    </ul>
    </div>
    </form>
</div>
<div id="light6" class="firstScan_main">
    <form action="mgrrprupdate" method="post" enctype="multipart/form-data">
    <div class="formbody">
    <div class="formtitle"><span>修改奖惩记录</span></div>
     <input type="hidden" name="cmKey" id="rprkey"  value="">
    <ul class="forminfo">
    <li><label>客户经理编号</label><input id="rprCmId" name="mgrId" type="text" class="dfinput" value=""/> </li>
    <li><label>奖惩分类</label><input id="rprtype" name="tpye" type="text" class="dfinput" value=""/> </li>
    <li><label>奖惩内容</label><input id="rprsub" name="sub" type="text" class="dfinput" value=""/> </li>
    <li><label>生效日期</label><input id="rpradate" name="adate" type="text" class="dfinput" value=""/> </li>
    <li><label>审批单位</label><input id="rprunit" name="aunit" type="text" class="dfinput" value=""/> </li>
    <li><label>审批人</label><input id="rprperson" name="aperson" type="text" class="dfinput" value=""/> </li>
    <li><label>撤销日期</label><input id="rprrdate" name="rdate" type="text" class="dfinput" value=""/> </li>
    <li><label>撤销原因</label><input id="rprreason" name="areason" type="text" class="dfinput" value=""/> </li>
    <li><label>备注</label><input  id="rprreamrk" name="remark" type="text" class="dfinput" value=""/> </li>
    <li><label>附件上传</label><input name="upload" type="file" class="dfselect1"/></li>
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="修改"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light6')"/></li>
    </ul>
    </div>
    </form>
</div>
<div id="light7" class="firstScan_main">
    <form action="mgrCheckAdd" method="post">
        <input type="hidden" name="modifier" id="modifier" value="${user.userId }">
    <input type="hidden" name="mgrId"  value="${param. mgrId}">
    <div class="formbody">
    <div class="formtitle"><span>添加考核记录</span></div>
    
    <ul class="forminfo">
    <li><label>客户经理编号</label>
    <c:if test="${param.mgrId =='' or param.mgrId==null}">
        <input name="mgrId" type="text" class="dfinput" value="${user.userId}" readonly/>
    </c:if>
    <c:if test="${param.mgrId !='' and param.mgrId!=null}">
        <input name="mgrId" type="text" class="dfinput" value="${param.mgrId}" readonly/>
    </c:if>
    </li>
    <li><label>考核时间</label><input name="asstime" type="text" class="dfinput" value=""/> </li>
    <li><label>考核内容</label><input name="assub" type="text" class="dfinput" value=""/> </li>
    <li><label>考核结果</label><input name="assresult" type="text" class="dfinput" value=""/> </li>
    <li><label>考核评价</label><input name="appralsal" type="text" class="dfinput" value=""/> </li>
    <li><label>考核单位</label><input name="assunit" type="text" class="dfinput" value=""/> </li>
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="添加"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light7')"/></li>
    </ul>
    </div>
    </form>
</div>
<div id="light8" class="firstScan_main">
    <form action="mgrcheckupdate" method="post">
      <input type="hidden" name="modifier" id="modifier" value="${user.userId }">
    <input type="hidden" name="mgrId"  value="${param. mgrId}">
    <div class="formbody">
    <div class="formtitle"><span>修改考核记录</span></div>
  <input type="hidden" name="cmKey" id="checkkey"  value="">   
    <ul class="forminfo">

   <li><label>客户经理编号</label><input id="checkCmId" name="mgrId" type="text" class="dfinput" value="000022"/> </li>
 
    <li><label>考核时间</label><input id="checkadate" name="asstime" type="text" class="dfinput" value=""/> </li>
    <li><label>考核内容</label><input id="checksub" name="assub" type="text" class="dfinput" value=""/> </li>
    <li><label>考核结果</label><input id="checkassresult" name="assresult" type="text" class="dfinput" value=""/> </li>
    <li><label>考核评价</label><input id="checkpingjia" name="appralsal" type="text" class="dfinput" value=""/> </li>
    <li><label>考核单位</label><input id="checkunit" name="assunit" type="text" class="dfinput" value=""/> </li>
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="修改"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light8')"/></li>
    </ul>
    </div>
    </form>
</div>	
<div id="light9" class="firstScan_main">
    <form action="mgrLearnTrainAdd" method="post">
          <input type="hidden" name="modifier" id="modifier" value="${user.userId }">
    <input type="hidden" name="mgrId"  value="${param. mgrId}">
    <div class="formbody">
    <div class="formtitle"><span>添加学习培训记录</span></div>
    
    <ul class="forminfo">
   <li><label>客户经理编号</label>
    <c:if test="${param.mgrId =='' or param.mgrId==null}">
        <input name="mgrId" type="text" class="dfinput" value="${user.userId}" readonly/>
    </c:if>
    <c:if test="${param.mgrId !='' and param.mgrId!=null}">
        <input name="mgrId" type="text" class="dfinput" value="${param.mgrId}" readonly/>
    </c:if>
    </li>
    <li><label>培训时间</label><input name="tdate" type="text" class="dfinput" value=""/> </li>
    <li><label>科目</label><input name="sub" type="text" class="dfinput" value=""/> </li>
    <li><label>培训单位</label><input name="tunit" type="text" class="dfinput" value=""/> </li>
    <li><label>开始日期</label><input name="startdate" type="text" class="dfinput" value=""/> </li>
    <li><label>结束日期</label><input name="endate" type="text" class="dfinput" value=""/> </li>
    <li><label>学时</label><input name="konw" type="text" class="dfinput" value=""/> </li>
    <li><label>学分</label><input name="credait" type="text" class="dfinput" value=""/> </li>
    <li><label>成绩</label><input name="score" type="text" class="dfinput" value=""/> </li>
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="添加"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light9')"/></li>
    </ul>
    </div>
    </form>
</div>
<div id="light10" class="firstScan_main">
    <form action="mgrltrupdate" method="post">
     <input type="hidden" name="modifier" id="modifier" value="${user.userId }">
    <input type="hidden" name="mgrId"  value="${param. mgrId}">
    <div class="formbody">
    <div class="formtitle"><span>修改学习培训记录</span></div>
    <input type="hidden" name="cmKey" id="ltrkey"  value="">   
    <ul class="forminfo">
    <li><label>客户经理编号</label><input id="ltrCmId" name="mgrId" type="text" class="dfinput" value=""/> </li>
 
    <li><label>培训时间</label><input id="ltradate" name="tdate" type="text" class="dfinput" value=""/> </li>
    <li><label>科目</label><input  id="ltrsub" name="sub" type="text" class="dfinput" value=""/> </li>
    <li><label>培训单位</label><input id="ltrtunit" name="tunit" type="text" class="dfinput" value=""/> </li>
    <li><label>开始日期</label><input id="ltrstart" name="startdate" type="text" class="dfinput" value=""/> </li>
    <li><label>结束日期</label><input id="ltrend" name="endate" type="text" class="dfinput" value=""/> </li>
    <li><label>学时</label><input id="ltrknow" name="konw" type="text" class="dfinput" value=""/> </li>
    <li><label>学分</label><input id="ltrcredait" name="credait" type="text" class="dfinput" value=""/> </li>
    <li><label>成绩</label><input id="score" name="score" type="text" class="dfinput" value=""/> </li>
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="修改"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light10')"/></li>
    </ul>
    </div>
    </form>
</div>
<div id="light11" class="firstScan_main" >
    <form action="mgrLevelAffirmAdd" method="post" enctype="multipart/form-data">
       <input type="hidden" name="modifier" id="modifier" value="${user.userId }">
    <input type="hidden" name="mgrId"  value="${param. mgrId}">
    <div class="formbody">
    <div class="formtitle"><span>添加等级认定记录</span></div>
    
    <ul class="forminfo">
  <li><label>客户经理编号</label>
    <c:if test="${param.mgrId =='' or param.mgrId==null}">
        <input name="mgrId" type="text" class="dfinput" value="${user.userId}" readonly/>
    </c:if>
    <c:if test="${param.mgrId !='' and param.mgrId!=null}">
        <input name="mgrId" type="text" class="dfinput" value="${param.mgrId}" readonly/>
    </c:if>
    </li>
    <li><label>认定时间</label><input name="holddate" type="text" class="dfinput" value=""/> </li>
    <li><label>认定级别</label><input name="holdlevel" type="text" class="dfinput" value=""/> </li>
    <li><label>认定类型</label><input name="holdtype" type="text" class="dfinput" value=""/> </li>
    <li><label>附件上传</label><input name="upload" type="file" class="dfselect1"/></li>
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="添加"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light11')"/></li>
    </ul>
    </div>
    </form>
</div>
<div id="light12" class="firstScan_main">
    <form action="mgrlevelupdate" method="post" enctype="multipart/form-data">
     <input type="hidden" name="modifier" id="modifier" value="${user.userId }">
    <input type="hidden" name="mgrId"  value="${param. mgrId}">
    <div class="formbody">
    <div class="formtitle"><span>修改等级认定记录</span></div>
      <input type="hidden" name="cmKey" id="levelkey"  value="">   
    <ul class="forminfo">
 <li><label>客户经理编号</label><input id="levelCmId" name="mgrId" type="text" class="dfinput" value=""/> </li>

    <li><label>认定级别</label><input id="holdlevel" name="holdlevel" type="text" class="dfinput" value=""/> </li>
    <li><label>认定类型</label><input id="holdtype" name="holdtype" type="text" class="dfinput" value=""/> </li>
    <li><label>附件上传</label><input id="upload" name="upload" type="file" class="dfselect1"/></li>
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="修改"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light12')"/></li>
    </ul>
    </div>
    </form>
</div>
<div id="light13" class="firstScan_main">
    <form action="<%=basePath %>mgrWorkHistoryAdd" method="post" enctype="multipart/form-data">
     <input type="hidden" name="modifier" id="modifier" value="${user.userId }">
    <input type="hidden" name="mgrId"  value="${param. mgrId}">
    <div class="formbody">
    <div class="formtitle"><span>添加工作经历</span></div>
    
    <ul class="forminfo">
        <li><label>客户经理编号</label>
    <c:if test="${param.mgrId =='' or param.mgrId==null}">
        <input name="mgrId" type="text" class="dfinput" value="${user.userId}" readonly/>
    </c:if>
    <c:if test="${param.mgrId !='' and param.mgrId!=null}">
        <input name="mgrId" type="text" class="dfinput" value="${param.mgrId}" readonly/>
    </c:if>
    </li>
    <li><label>任职日期</label><input name="officeDate" type="text" class="dfinput" value=""/> </li>
       <li><label>职务</label> 
      <div class="vocation">
	     <select class="select1" name="cmPostion" >
			        <c:forEach items="${mgrLevel}" var="level">
							<option value="${level.key }" >${level.value }</option>		
					</c:forEach> 
	      </select>
	  </div>
     </li>
    <li><label>单位</label><input name="cmUnit" type="text" class="dfinput" value=""/> </li>
    <li><label>工作经历</label><input name="cmWork" type="text" class="dfinput" value=""/> </li>
    <li><label>附件上传</label><input name="upload" type="file" class="dfselect1"/></li>
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="添加"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light13')"/></li>
    </ul>
    </div>
    </form>
</div> 
<div id="light14" class="firstScan_main">
    <form action="<%=basePath %>updateWorkHistory" method="post" enctype="multipart/form-data">
    <input type="hidden" name="cmKey" id="workCmKey"  value="">
    <input type="hidden" name="modifier" value="${user.userId }">
    <input type="hidden" name="cmAttach" id="workHistAttach" value="">
    <div class="formbody">
    <div class="formtitle"><span>修改工作经历</span></div>
    <ul class="forminfo">
    <input id="workHidden" name="workKey" type="hidden" class="dfinput" value=""/> 
    <li><label>客户经理编号</label><input name="mgrId" id="workCmId" type="text" class="dfinput" value="" readonly/> </li>
    <li><label>任职日期</label><input name="officeDate" id="workofficeDate" type="text" class="dfinput" value=""/> </li>
    <li><label>职务</label> 
      <div class="vocation">
	     <select class="select1" name="cmPostion" id="workcmPostion">
			        <c:forEach items="${mgrLevel}" var="level">
							<option value="${level.key }" >${level.value }</option>		
					</c:forEach> 
	      </select>
	  </div>
     </li>
    <li><label>单位</label><input name="cmUnit" id="workUnit" type="text" class="dfinput" value=""/> </li>
    <li><label>工作经历</label><input name="cmWork" id="workWork" type="text" class="dfinput" value=""/> </li>
    <li><label>附件上传</label><input name="upload" id="workAttach" type="file" class="dfselect1"/></li>
    <li>&nbsp;&nbsp;<input name="" type="submit" class="btn" value="修改"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" class="btn" value="关闭" onclick="closeWindow('light14')"/></li>
    </ul>
    </div>
    </form>
</div>   
	</div> 
 
	<script type="text/javascript"> 
      $("#usual1 ul").idTabs(); 
    </script>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
        
    </div>
</body>
</html>